/*
 *
 * @ProjectName:    my_umi_app
 * @Package:
 * @ClassName:      footer_widget
 * @Description:    blog_底部
 * @Author:         SuPeiSen
 * @CreateDate:     2021/2/11 4:53 下午
 * @UpdateDate:     2021/2/11 4:53 下午
 * @UpdateRemark:   更新说明：
 * @Version:        1.0
 */

import React from 'react';
import { Layout } from 'antd';
import './style/footer.less';

interface FooterWidget {
  icp_num?: string;
  icp_onclick?: () => void;
}

/**
 * 底部
 * @constructor
 */
export const FooterWidget = (props: FooterWidget) => {
  const { Footer } = Layout;

  return (
    <div>
      <Footer className="footer_widget">
        <div onClick={props.icp_onclick} className="footer_icp">
          {props.icp_num}
        </div>
      </Footer>
    </div>
  );
};
